import request from '@/utils/request'

// 查询专家基本信息列表
export function listEXPERT_BASIC(query) {
  return request({
    url: '/person/EXPERT_BASIC/list',
    method: 'get',
    data: query
  })
}
// 查询专家基本信息列表
export function listEXPERT_BASIC1(query) {
  return request({
    url: '/person/web/EXPERT_BASIC/list1',
    method: 'get',
    data: query
  })
}

// 查询专家基本信息详细
export function getEXPERT_BASIC(id) {
  return request({
    url: '/person/EXPERT_BASIC/' + id,
    method: 'get'
  })
}

// 新增专家基本信息
export function addEXPERT_BASIC(data) {
  return request({
    url: '/person/EXPERT_BASIC',
    method: 'post',
    data: data
  })
}

// 修改专家基本信息
export function updateEXPERT_BASIC(data) {
  return request({
    url: '/person/EXPERT_BASIC',
    method: 'put',
    data: data
  })
}

// 删除专家基本信息
export function delEXPERT_BASIC(id) {
  return request({
    url: '/person/EXPERT_BASIC/' + id,
    method: 'delete'
  })
}

// 提交专家基本信息
export function submitEXPERT_BASIC(id) {
  return request({
    url: '/person/EXPERT_BASIC/submit/' + id,
    method: 'put'
  })
}
// 审核专家基本信息
export function appEXPERT_BASIC(id) {
  return request({
    url: '/person/EXPERT_BASIC/approval/' + id,
    method: 'put'
  })
}
// 驳回专家基本信息
export function rejectEXPERT_BASIC(data) {
  return request({
    url: '/person/EXPERT_BASIC/reject',
    method: 'put',
    data: data
  })
}
